package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.PublicActivitiesDTO;
import com.financing.platform.vo.PublicActivitiesVO;

public interface IPublicActivitiesDao extends IBaseDao  {

	/**
	 * 
	 * @Title: addPublicActivites
	 * @Description: 添加活动 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int addPublicActivites(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: publicActivitiesList
	 * @Description: 查询活动列表 
	 * @param @return
	 * @param @throws SQLException   
	 * @return List<PublicActivitiesDTO>   
	 * @throws
	 */
	public List<PublicActivitiesVO> publicActivitiesList(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: publicActivitiesListCount
	 * @Description:  
	 * @param @return
	 * @param @throws SQLException   
	 * @return List<PublicActivitiesVO>   
	 * @throws
	 */
	public int publicActivitiesListCount(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: queryPublicActivities
	 * @Description: 查询活动详情 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return PublicActivitiesDTO   
	 * @throws
	 */
	public PublicActivitiesDTO queryPublicActivities(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: updatePublicActivities
	 * @Description: 修改活动 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int updatePublicActivities(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
}
